package com.chenfan.finance.dao;

import com.chenfan.finance.model.TocTradeOrderDetails;
import com.chenfan.finance.model.vo.TimeRange;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface TocTradeOrderDetailsMapper {

    int insertListSimplify(@Param("list") List<TocTradeOrderDetails> list ,@Param("taskYearMonth") LocalDateTime taskYearMonth);

    int insertList(@Param("list") List<TocTradeOrderDetails> list ,@Param("taskYearMonth") LocalDateTime taskYearMonth);


    List<TocTradeOrderDetails> getDetailListByTid(@Param("tid") String tid, @Param("timeRange")TimeRange timeRange);

    String getSkuCodeBySpecId(@Param("specId") String specId, @Param("timeRange")TimeRange timeRange);
}